package pf;

import basic.BytePointer;
import basic.*;

public class PF_PageHandle {
	
	public byte[] refData;
	public PageNum pageNum;
	
	public PF_PageHandle() {
		
	}
	
	public ReturnCode GetData(BytePointer ptr) {
		ptr.addr = this.refData;
		return ReturnCode.PF_SUCCESS;
	}
	
	public ReturnCode GetPageNum(IntegerWrapper pageNum) {
		pageNum.SetValue(this.pageNum.getPageNum());
		return ReturnCode.PF_SUCCESS;
	}
}
